package com.wu.shop.module.mine.ui.fragment

import android.os.Bundle
import android.view.View
import androidx.databinding.ViewDataBinding
import com.wu.common.base.ui.fragment.MvpBaseFragment
import com.wu.shop.R
import com.wu.shop.databinding.FragmentMineBinding
import com.wu.shop.module.mine.frame.presenter.MinePresenter
import com.wu.shop.module.mine.frame.view.MineView


/**
 * @author wkq
 *
 * @date 2021年07月06日 11:25
 *
 *@des
 *
 */

class MineFragment : MvpBaseFragment<MineView, MinePresenter, FragmentMineBinding>() {


    companion object {
        fun newInstance(): MineFragment {
            var mFragment = MineFragment()
            return mFragment
        }
    }

    override fun getLayoutId(): Int {
        return R.layout.fragment_mine
    }

    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)
        mvpView.initView()
        presenter.initData(activity)
    }


}